package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;
import com.itheima.reggie.entity.SetmealDish;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    void saveWithMealDish(SetmealDto setmealDto);

    Page<SetmealDto> getPage(Long page, Long pageSize, String name);

    void removeWithDish(List<Long> ids);

    SetmealDto getSetmealDto(Long id);

    void updateWithDish(SetmealDto setmealDto);

    List<SetmealDish> listDishes(Long setmealId);
}
